#include "curl/curl.h"
#include "httpclient.h"
#include <iostream>
using namespace std;

int main()
{
	std::string res;
	string urlPath="http://img.willclass.com/api/show/image?fileKey=bc5ac034acc1d302e90687bd2af7c445";
	string localPath="./test.jpg";
	res = CHttpClient::GetInstance()->DownloadFile(urlPath,localPath,120);
	cout<<res<<endl;
	return 0;
}
